import './App.css';
import {Button} from 'antd'

function App() {
    const handle = () => {
        window.less.modifyVars({
            "@primary-color": "red",
        });
    };
    return (
        <div className="App">
            <Button type={'primary'} onClick={handle}>按钮</Button>
        </div>
    );
}

export default App;
